//
//  RequestHelper.h
//  NMC_iOS
//
//  Created by Nong Nghia on 7/30/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface RequestHelper : NSObject

+ (void)requestJSONWithURL:(NSURL*)_URL
                 andParams:(NSDictionary*)_params
                   success:(void (^)(id result))success
                   failure:(void (^)(NSError *error))failure;

+ (void)requestImageWithURL:(NSURL*)_URL
                   success:(void (^)(id result))success
                   failure:(void (^)(NSError *error))failure;

@end
